<%--
  Created by IntelliJ IDEA.
  User: MI
  Date: 2021/7/6
  Time: 18:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>用户信息列表</title>
</head>
<body>
<table>
    <tr>
        <th>id</th>
        <th>学生姓名</th>
        <th>学生密码</th>
        <th>学生性别</th>
        <th>学生年龄</th>
        <th>学生住址</th>
        <th>学生分组</th>
        <th>学生班级</th>
        <th>操作</th>
    </tr>
    <c:forEach items="${list}" var="student">
        <tr>
            <td>${student.id}</td>
            <td>${student.name}</td>
            <td>${student.password}</td>
            <td>${student.gender}</td>
            <td>${student.age}</td>
            <td>${student.address}</td>
            <td>${student.group}</td>
            <td>${student.classname}</td>
            <td>
                <a href="/deleteUserById?id=${student.id}">删除</a>
                <a href="/findUserById?id=${student.id}">修改</a>
            </td>
        </tr>
    </c:forEach>
</table>
</body>
</html>
